/*
 * Created by LiuYou on 2020/12/14.
 *
 */

#include "../Computer.hpp"
#include <utility>
#include "../Display.hpp"
#include "../GraphicsCard.hpp"

Computer::Computer::Computer(const std::shared_ptr<Display>& sharedPtrDisplay,
                             const std::shared_ptr<GraphicsCard>& sharedPtrGraphicsCard) : sharedPtrDisplay(
        sharedPtrDisplay), sharedPtrGraphicsCard(sharedPtrGraphicsCard) {}

/*Computer::Computer::Computer(std::shared_ptr<Display> sharedPtrDisplay,
                             std::shared_ptr<GraphicsCard> sharedPtrGraphicsCard) :
        sharedPtrDisplay(std::move(sharedPtrDisplay)), sharedPtrGraphicsCard(std::move(sharedPtrGraphicsCard)) {}*/

Computer::Computer::~Computer() = default;

Display::Display* Computer::Computer::getDisplay() {
    return sharedPtrDisplay.get();
}


/*
GraphicsCard::GraphicsCard Computer::Computer::getGraphicsCard() {
    return *sharedPtrGraphicsCard;
}*/
